package com.shuwen.gcdj.common.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * OpAuth:frp身份验证注解
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface OpAuth {
    String value() default "";

    int action() default 0;

    boolean authorize() default true;

    /**
     * 1crm 2绚星
     */
    int type() default 1;

    String authorizeCode() default "";

    int authorizeType() default 0;
}
